package com.itheima.dao;

import com.itheima.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;


public interface OrdersettingDao {

    //根据日期查询是否以设置预约
    public Long findOrdersettingByDate(Date date);

    //根据日期修改当日预约总人数
    public void UpdateByDate(OrderSetting orderSetting);

    //添加预约设置
    public void add(OrderSetting orderSetting);

    //查询预约设置
    public List<Map> FindAllByDate(Map map);




}
